home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-21 | 1.2 KB | 61 lines | [TEXT/ttxt] |
- --<<<-
- -- Filename:
- -- loadme.sx
-
- -- Other Files Required:
- -- wrapper.sx, mediaimp.sx, animate.sx, fish.sx, animdemo.sx
-
- -- Purpose:
- -- Loading a demo of the Animation class.
-
- -- Specialized Classes:
- -- None
-
- -- Instructions to User:
- -- File this in from ScriptX.
-
- -- Author:
- -- Steve Mayer
- -- log output to a file
-
- if not (getmodule @WidgetInterface) do
- tc := open librarycontainer \
- dir: thestartdir \
- path: "widgets.sxl"
-
-
- module InternetFish
- uses ScriptX
- uses WidgetInterface
- exports startFish
- end
-
- in module InternetFish
-
- if not (isdefined tcpstream) do process (new loader) "loadable/web"
-
-
- fileIn theScriptDir name: "wrapper.sx"
- fileIn theScriptDir name: "mediaimp.sx"
- fileIn theScriptDir name: "animate.sx"
- fileIn theScriptDir name: "fish.sx"
- fileIn theScriptDir name: "mqueue.sx"
- fileIn theScriptDir name: "connect.sx"
- fileIn theScriptDir name: "connectm.sx"
- fileIn theScriptDir name: "animdemo.sx"
-
- function demo -> (
- server := new animationdemo state: @lost
- show server
- client := new animationdemo state: @own
- show client
- )
-
- function startFish tc -> (
- if not (isdefined tcpstream) do process (new loader) "loadable/web"
- foreach tc load undefined
- startDemo AnimationDemo
- )
-
- -->>>
-